package com.ygqh.baby.mapper;
import com.ygqh.baby.po.YgStyle;
import com.ygqh.baby.po.YgStyleExample;
import com.ygqh.baby.ao.QueryInfo;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface YgStyleMapper {
    int countByExample(YgStyleExample example);

    int deleteByExample(YgStyleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgStyle record);

    int insertSelective(YgStyle record);

    List<YgStyle> selectByExample(YgStyleExample example);

    YgStyle selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgStyle record, @Param("example") YgStyleExample example);

    int updateByExample(@Param("record") YgStyle record, @Param("example") YgStyleExample example);

    int updateByPrimaryKeySelective(YgStyle record);

    int updateByPrimaryKey(YgStyle record);
    
    int countSuper(@Param("supplierId") Long supplierId,@Param ("q") String q);
    
    List<YgStyle> selectSuper(@Param("supplierId") Long supplierId,@Param("queryInfo") QueryInfo queryInfo, @Param ("q") String q);
    
}



